﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SendKeyTo.Core
{
    public enum Keybd_Enum
    {
        //keybd_event方法的第一个参数值有：（例如：keybd_event(=0x11, 0, 0, 0)是CTRL 键 按下  keybd_event(=0x11, 0, 2, 0)是CTRL 键 松开）

        /// <summary>
        /// 鼠标左键  
        /// </summary>
        vbKeyLButton = 0x1,
        /// <summary>
        /// 鼠标右键  
        /// </summary>
        vbKeyRButton = 0x2,
        /// <summary>
        /// CANCEL 键  
        /// </summary>
        vbKeyCancel = 0x3,
        /// <summary>
        /// 鼠标中键  
        /// </summary>
        vbKeyMButton = 0x4,
        /// <summary>
        /// BACKSPACE 键  
        /// </summary>
        vbKeyBack = 0x8,
        /// <summary>
        /// TAB 键  
        /// </summary>
        vbKeyTab = 0x9,
        /// <summary>
        /// CLEAR 键  
        /// </summary>
        vbKeyClear = 0xC,
        /// <summary>
        /// ENTER 键  
        /// </summary>
        vbKeyReturn = 0xD,
        /// <summary>
        /// SHIFT 键  
        /// </summary>
        vbKeyShift = 0x10,
        /// <summary>
        /// CTRL 键  
        /// </summary>
        vbKeyControl = 0x11,
        /// <summary>
        /// MENU 键 
        /// </summary>
        vbKeyMenu = 0x12,
        /// <summary>
        /// PAUSE 键  
        /// </summary>  
        vbKeyPause = 0x13,
        /// <summary>
        /// CAPS LOCK 键 
        /// </summary>
        vbKeyCapital = 0x14,
        /// <summary>
        /// ESC 键  
        /// </summary>
        vbKeyEscape = 0x1B,
        /// <summary>
        /// SPACEBAR 键  
        /// </summary>
        vbKeySpace = 0x20,
        /// <summary>
        /// PAGE UP 键  
        /// </summary>
        vbKeyPageUp = 0x21,
        /// <summary>
        /// END 键  
        /// </summary>
        vbKeyEnd = 0x23,
        /// <summary>
        /// HOME 键 
        /// </summary>
        vbKeyHome = 0x24,
        /// <summary>
        /// LEFT ARROW 键  
        /// </summary>
        vbKeyLeft = 0x25,
        /// <summary>
        /// UP ARROW 键  
        /// </summary>
        vbKeyUp = 0x26,
        /// <summary>
        /// RIGHT ARROW 键  
        /// </summary>
        vbKeyRight = 0x27,
        /// <summary>
        /// DOWN ARROW 键  
        /// </summary>
        vbKeyDown = 0x28,
        /// <summary>
        /// Select 键  
        /// </summary>
        vbKeySelect = 0x29,
        /// <summary>
        /// PRINT SCREEN 键  
        /// </summary>
        vbKeyPrint = 0x2A,
        /// <summary>
        /// EXECUTE 键  
        /// </summary>
        vbKeyExecute = 0x2B,
        /// <summary>
        /// SNAPSHOT 键  
        /// </summary>
        vbKeySnapshot = 0x2C,
        /// <summary>
        /// Delete 键  
        /// </summary>
        vbKeyDelete = 0x2E,
        /// <summary>
        /// HELP 键  
        /// </summary>
        vbKeyHelp = 0x2F,
        /// <summary>
        /// NUM LOCK 键  
        /// </summary>
        vbKeyNumlock = 0x90,

        /// <summary>
        /// A 键  
        /// </summary>
        vbKeyA = 65,
        /// <summary>
        /// B 键  
        /// </summary>
        vbKeyB = 66,
        /// <summary>
        /// C 键  
        /// </summary>
        vbKeyC = 67,
        /// <summary>
        /// D 键  
        /// </summary>
        vbKeyD = 68,
        /// <summary>
        /// E 键  
        /// </summary>
        vbKeyE = 69,
        /// <summary>
        ///  F 键  
        /// </summary>
        vbKeyF = 70,
        /// <summary>
        /// G 键  
        /// </summary>
        vbKeyG = 71,
        /// <summary>
        /// H 键  
        /// </summary>
        vbKeyH = 72,
        /// <summary>
        /// I 键  
        /// </summary>
        vbKeyI = 73,
        /// <summary>
        /// J 键  
        /// </summary>
        vbKeyJ = 74,
        /// <summary>
        /// K 键  
        /// </summary>
        vbKeyK = 75,
        /// <summary>
        /// L 键  
        /// </summary>
        vbKeyL = 76,
        /// <summary>
        /// M 键  
        /// </summary>
        vbKeyM = 77,
        /// <summary>
        /// N 键 
        /// </summary>
        vbKeyN = 78,
        /// <summary>
        /// O 键  
        /// </summary> 
        vbKeyO = 79,
        /// <summary>
        /// P 键  
        /// </summary>
        vbKeyP = 80,
        /// <summary>
        /// Q 键  
        /// </summary>
        vbKeyQ = 81,
        /// <summary>
        /// R 键  
        /// </summary>
        vbKeyR = 82,
        /// <summary>
        /// S 键  
        /// </summary>
        vbKeyS = 83,
        /// <summary>
        /// T 键 
        /// </summary>
        vbKeyT = 84,
        /// <summary>
        /// U 键  
        /// </summary> 
        vbKeyU = 85,
        /// <summary>
        /// V 键  
        /// </summary>
        vbKeyV = 86,
        /// <summary>
        /// W 键  
        /// </summary>
        vbKeyW = 87,
        /// <summary>
        /// X 键  
        /// </summary>
        vbKeyX = 88,
        /// <summary>
        /// Y 键  
        /// </summary>
        vbKeyY = 89,
        /// <summary>
        /// Z 键  
        /// </summary>
        vbKeyZ = 90,

        /// <summary>
        /// 0 键  
        /// </summary>
        vbKey0 = 48,
        /// <summary>
        /// 1 键  
        /// </summary>
        vbKey1 = 49,
        /// <summary>
        /// 2 键  
        /// </summary>
        vbKey2 = 50,
        /// <summary>
        /// 3 键  
        /// </summary>
        vbKey3 = 51,
        /// <summary>
        /// 4 键 
        /// </summary>
        vbKey4 = 52,
        /// <summary>
        /// 5 键  
        /// </summary>
        vbKey5 = 53,
        /// <summary>
        /// 6 键  
        /// </summary>
        vbKey6 = 54,
        /// <summary>
        /// 7 键  
        /// </summary>
        vbKey7 = 55,
        /// <summary>
        /// 8 键  
        /// </summary>
        vbKey8 = 56,
        /// <summary>
        /// 9 键 
        /// </summary>
        vbKey9 = 57,

        /// <summary>
        /// 0 键  
        /// </summary>
        vbKeyNumpad0 = 0x60,
        /// <summary>
        /// 1 键 
        /// </summary>
        vbKeyNumpad1 = 0x61,
        /// <summary>
        /// 2 键
        /// </summary>
        vbKeyNumpad2 = 0x62,
        /// <summary>
        /// 3 键 
        /// </summary>
        vbKeyNumpad3 = 0x63,
        /// <summary>
        /// 4 键
        /// </summary>
        vbKeyNumpad4 = 0x64,
        /// <summary>
        /// 5 键
        /// </summary>
        vbKeyNumpad5 = 0x65,
        /// <summary>
        /// 6 键 
        /// </summary>
        vbKeyNumpad6 = 0x66,
        /// <summary>
        /// 7 键
        /// </summary>
        vbKeyNumpad7 = 0x67,
        /// <summary>
        /// 8 键
        /// </summary>
        vbKeyNumpad8 = 0x68,
        /// <summary>
        /// 9 键
        /// </summary>
        vbKeyNumpad9 = 0x69,
        /// <summary>
        /// MULTIPLICATIONSIGN(*)键
        /// </summary>
        vbKeyMultiply = 0x6A,
        /// <summary>
        /// PLUS SIGN (+) 键  
        /// </summary>
        vbKeyAdd = 0x6B,
        /// <summary>
        /// ENTER 键
        /// </summary>
        vbKeySeparator = 0x6C,
        /// <summary>
        /// MINUS SIGN (-) 键 
        /// </summary>
        vbKeySubtract = 0x6D,
        /// <summary>
        /// DECIMAL POINT (.) 键
        /// </summary>
        vbKeyDecimal = 0x6E,
        /// <summary>
        /// DIVISION SIGN (/) 键
        /// </summary>
        vbKeyDivide = 0x6F,

        /// <summary>
        /// F1 键 
        /// </summary>
        vbKeyF1 = 0x70,
        /// <summary>
        /// F2 键  
        /// </summary>
        vbKeyF2 = 0x71,
        /// <summary>
        /// F3 键  
        /// </summary>
        vbKeyF3 = 0x72,
        /// <summary>
        /// F4 键 
        /// </summary>
        vbKeyF4 = 0x73,
        /// <summary>
        /// F5 键  
        /// </summary>
        vbKeyF5 = 0x74,
        /// <summary>
        /// F6 键 
        /// </summary>
        vbKeyF6 = 0x75,
        /// <summary>
        /// F7 键
        /// </summary>
        vbKeyF7 = 0x76,
        /// <summary>
        /// F8 键
        /// </summary>
        vbKeyF8 = 0x77,
        /// <summary>
        /// F9 键  
        /// </summary>
        vbKeyF9 = 0x78,
        /// <summary>
        /// F10 键  
        /// </summary>
        vbKeyF10 = 0x79,
        /// <summary>
        /// F11 键
        /// </summary>
        vbKeyF11 = 0x7A,
        /// <summary>
        /// F12 键 
        /// </summary>
        vbKeyF12 = 0x7B,


        /// <summary>
        /// 下一曲
        /// </summary>
        vbKeyNext = 0xB0,
        /// <summary>
        /// 上一曲
        /// </summary>
        vbKeyPrevious = 0xB1,
        /// <summary>
        /// 暂停
        /// </summary>
        vbKeyPause_M = 0xB2,
        /// <summary>
        /// 播放或者暂停
        /// </summary>
        vbKeyPlayOrPause = 0xB3,
        /// <summary>
        /// 音量加
        /// </summary>
        vbKeyVolumeUp = 0xAF,
        /// <summary>
        /// 音量减
        /// </summary>
        vbKeyVolumeDown = 0xAE,
        /// <summary>
        /// 静音
        /// </summary>
        vbKeySoundOff = 0xAD,
        /// <summary>
        /// 浏览器
        /// </summary>
        vbKeyBrowser = 0xAC,
        /// <summary>
        /// 邮件
        /// </summary>
        vbKeyEmail = 0xB4,
        /// <summary>
        /// 搜索
        /// </summary>
        vbKeySearch = 0xAA,
        /// <summary>
        /// 收藏
        /// </summary>
        vbKeyCollect = 0xAB

    }
}
